package soap.latherqq.ui.panel.main;

import java.awt.BorderLayout;

import soap.latherqq.core.manage.ResManage;

import com.alee.extended.image.WebDecoratedImage;
import com.alee.laf.panel.WebPanel;

public class UserInfoPanel extends WebPanel{
	private WebDecoratedImage userHead;
	public UserInfoPanel(){
		inGui();
	}
	private void inGui(){
		this.setLayout(new BorderLayout());
		
		userHead=new WebDecoratedImage(ResManage.self().getImageIcon("default/default_face.png"));
		
		WebPanel panel=new WebPanel(new BorderLayout());
		panel.setMargin(10);
		panel.add(userHead);
		this.add(panel,BorderLayout.EAST);
	}
}
